#ifndef LAGRANGEINTERPOLATOR_H
#define LAGRANGEINTERPOLATOR_H
#include <QList>

class LagrangeInterpolator
{
public:
    LagrangeInterpolator();
    static double estimateValue(QList<double> abscissas, QList<double> ordinates, double x);


private:
    static QList<double> choosePointsOfAbscissas(QList<double> abscissas);
    static QList<double> choosePointsOfOrdinates(QList<double> ordinates);
};

#endif // LAGRANGEINTERPOLATOR_H
